home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: undergrad.math.uwaterloo.ca!jsshephe
- From: jsshephe@math.uwaterloo.ca (Jeff Shepherd)
- Subject: Re: GCC includes correct?
- Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
- Message-ID: <DnrEn8.E3r@undergrad.math.uwaterloo.ca>
- Date: Mon, 4 Mar 1996 20:09:08 GMT
- References: <d93-hyo.825885645@nada.kth.se>
- Nntp-Posting-Host: math.uwaterloo.ca
- Organization: University of Waterloo
-
- In article <d93-hyo.825885645@nada.kth.se>, d93-hyo@nada.kth.se (Hekan Younes) writes:
- > Are all the functions that are declared in the GCC include files
- > present in the standard link library? I've compiled some UNIX
- > source code, and the linker complains about undefined symbols
- > (e.g. sbrk() and setlocale()).
-
- Sbrk() is an ancient UNIX command that has no revelant use on the amiga.
- Setlocale() is an ANSI C function that *should* be in ixemul.library (I can't find out
- right at this moment).
-
- > And what about ixemul.library? When is it needed, and what does
- > it have that the standard link library hasn't got?
- >
-
- Ixemul.library is very useful when porting UNIX programs. If you plan to write Amiga
- specific programs, you can link with libnix by specify "-noixemul" on the command
- line. This links without the ixemul.library stubs. Ixemul.library contains all
- the UNIX-like functions like vfork() and execve() which libnix doesn't have.
- --
- http://www.undergrad.math.uwaterloo.ca/~jsshephe
- Dentist, n.:
- A Prestidigitator who, putting metal in one's mouth, pulls
- coins out of one's pockets.
-